OTP\Handler\Forms\GravityForm B

Total Complexity 77
Dependencies 9
Dependents 0
Total lines 399
Lines of code 241
Logical lines of code 133
Comment lines 144
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
parseform_datails()
A
47 13 31
validate_form_submit()
A
52 10 21
add_scripts()
A
55 9 19
validate_submitted_email_or_phone()
S
57 6 17
handle_form_options()
S
57 6 15
routeData()
S
57 5 15
validate_otp()
S
57 3 18
get_phone_number_selector()
S
63 4 9
isEmailOrPhoneField()
S
73 4 4
handleGfForm()
S
66 3 9
__construct()
S
58 2 15
processPhoneAndStartOTPVerificationProcess()
S
61 2 13
processEmailAndStartOTPVerificationProcess()
S
61 2 13
handle_form()
S
62 2 11
add_shortcode_to_form()
S
55 1 17
mo_gravity_unset_session()
S
73 2 5
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3